package com.boyinet.imesh2json.repo

import com.boyinet.imesh2json.bean.Type
import org.springframework.data.repository.CrudRepository

interface TypeRepository : CrudRepository<Type, Int> {

    fun findTypesByTypeEquals(type: Int): List<Type>

    fun findTypeByCodeEquals(code: String): Type
}